/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cpal.entrenamiento.dao;

import com.cpal.entrenamiento.entity.SubCategoria;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author Omar
 */
public interface ISubCategoriaDAO {
   //List<SubCategoria> obtenerSubCategorias(Integer codigoTarea) throws DataAccessException;
    List<SubCategoria> obtenerSubCategorias(Integer codigoCategoria) throws DataAccessException;
    List<SubCategoria> obtenerSubCategorias() throws DataAccessException;
    SubCategoria obtenerSubCategoria(Integer codigoSubCategoria) throws DataAccessException;
}
